projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e5046
)
arm/kirkwood: if CONFIG_SOFT_I2C is set don't set CONFIG_I2C_MVTWSI
author
Holger Brunck
<[
[email protected]
]>
Thu, 16 Jun 2011 12:41:15 +0000
(18:11 +0530)
committer
Albert ARIBAUD
<
[email protected]
>
Mon, 4 Jul 2011 08:55:28 +0000
(10:55 +0200)
Some boards e.g. keymile arm boards have CONFIG_CMD_I2C switched on
but they use soft i2c on kirkwood. So don't switch CONFIG_I2C_MVTWSI
on in this case.
Signed-off-by: Holger Brunck <
[email protected]
>
cc: Valentin Longchamp <
[email protected]
>
cc: Prafulla Wadaskar <
[email protected]
>
cc: Heiko Schocher <
[email protected]
>
arch/arm/include/asm/arch-kirkwood/config.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-kirkwood/config.h
b/arch/arm/include/asm/arch-kirkwood/config.h
index 71ba46412605353c8fa9ec5baf10c99dc7b5b3bb..b7dae1e2dcd02f28d6011c2a74c1d84daee251ff 100644
(file)
--- a/
arch/arm/include/asm/arch-kirkwood/config.h
+++ b/
arch/arm/include/asm/arch-kirkwood/config.h
@@
-137,7
+137,9
@@
* I2C related stuff
*/
#ifdef CONFIG_CMD_I2C
+#ifndef CONFIG_SOFT_I2C
#define CONFIG_I2C_MVTWSI
+#endif
#define CONFIG_SYS_I2C_SLAVE 0x0
#define CONFIG_SYS_I2C_SPEED 100000
#endif